﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Infrastructure.Data.Annotations
{
    /// <summary>
	/// Configures the precision property of a DateTime within the store
	/// </summary>
	[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
    public sealed class DateTimePrecisionAttribute : Attribute
    {
        public DateTimePrecisionAttribute(byte value)
        {
            Value = value;
        }

        public byte Value { get; set; }
    }
}
